package org.fisco.bcos.asset.resp;

import java.math.BigInteger;

public class DonationSummary {

    private BigInteger totalAmount;
    private int projectCount;

    // 构造函数
    public DonationSummary(BigInteger totalAmount, int successCount, int projectCount) {
        this.totalAmount = totalAmount;

        this.projectCount = projectCount;
    }
    public DonationSummary(){}

    // Getter 和 Setter 方法
    public BigInteger getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigInteger totalAmount) {
        this.totalAmount = totalAmount;
    }



    public int getProjectCount() {
        return projectCount;
    }

    public void setProjectCount(int projectCount) {
        this.projectCount = projectCount;
    }

    @Override
    public String toString() {
        return "DonationSummary{" +
                "totalAmount=" + totalAmount +
                ", projectCount=" + projectCount +
                '}';
    }
}